package com.zyh.domain;

public class Worker extends People{
    public String job;
    public void work(){
        System.out.println("搬砖");
    }

    @Override
    public void show() {
        System.out.println("我爱搬砖");
    }
    public void eat(){
        System.out.println("我是work中的eat方法");
    }

}
